package com.gzq.singleton.practice30;

public enum EnumSingleton30 {
	SINGLETON, SINGLETON2;

	public static void main(String[] args) {
		EnumSingleton30 singleton1 = EnumSingleton30.SINGLETON;
		EnumSingleton30 singleton2 = EnumSingleton30.SINGLETON;

		EnumSingleton30 singleton3 = EnumSingleton30.SINGLETON2;

		System.out.println(singleton1.hashCode());
		System.out.println(singleton2.hashCode());
		System.out.println(singleton3.hashCode());

	}
}
